# 数据库配置
# HOSTNAME = 'rm-cn-3mp424d5q00022co.rwlb.rds.aliyuncs.com'
# PORT = '3306'
# DATABASE = 'flask_db'
# USERNAME = 'user0'
# PASSWORD = 'Syh2001131219!'
# DB_URI = f'mysql+pymysql://{USERNAME}:{PASSWORD}@{HOSTNAME}:{PORT}/{DATABASE}?charset=utf8'

# # 数据库配置
HOSTNAME = '127.0.0.1'
PORT = '3306'
DATABASE = 'daypaper_master'
USERNAME = 'root'
PASSWORD = 'huawei12345679'
DB_URI = f'mysql+pymysql://{USERNAME}:{PASSWORD}@{HOSTNAME}:{PORT}/{DATABASE}?charset=utf8'

SQLALCHEMY_DATABASE_URI = DB_URI


# session密钥
SECRET_KEY = 'asdfasdfjasdf'